<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>SQL Studio</title>
</head>
<body>
    <h1>SQL Studio</h1>
    <h2>Tables</h2>
    <ul>
        {% for table in tables %}
        <li><a href="{{ url_for('table', name=table[0]) }}">{{ table[0] }}</a></li>
        {% endfor %}
    </ul>
    <a href="{{ url_for('query') }}">Run SQL Query</a>
</body>
</html>
